<?php
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Smarty 配置文件
 *
 * @author yifa
 */
defined('YF_PATH') or exit();
include_once(YF_PATH."Tpl/Smarty/libs/Smarty.class.php"); //包含smarty类文件

$smarty = new Smarty(); //建立smarty实例对象$smarty

//$smarty->config_dir="Smarty/Config_File.class.php";  // 目录变量

$smarty->caching=false; //是否使用缓存，项目在调试期间，不建议启用缓存

$smarty->template_dir = APP_PATH."templates/".getConfig('THEME'); //设置模板目录

$smarty->compile_dir = APP_PATH."templates_c"; //设置编译目录

$smarty->cache_dir = APP_PATH."smarty_cache"; //缓存文件夹

?>
